package com.navinfo.platform.score.service;

import com.navinfo.platform.score.pojo.ScoreWeight;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.sql.SparkSession;
import scala.Tuple2;

import java.util.Map;

/**
 * 加载载重权重+打分公式
 *
 * @author CAI
 */
public interface LoadScoreWeightService {
    JavaPairRDD<String, ScoreWeight> getScoreWeightRdd(SparkSession session);
    Map<String, ScoreWeight> getScoreWeight();
}
